a {
	color: black;
}

.container {
	position: relative;
  left: 50%;
  width: 320px;
  margin-left: -160px;
  margin-top: 50px;
  /*border: 1px solid #CCC;*/
  font-family: sans-serif;
}

.field {
	width: 320px;
	height: 320px;
	background-image: url("pics/grid_bg.png");
	border-bottom: solid 1px #666;
	border-right: solid 1px #666;
	position: relative;
}

.fieldMark {
  width: 20px;
  height: 20px;
  position: absolute;
}

.lastMove {
	width: 20px;
	height: 20px;
	position: absolute;
	background-color: #CCC;
}

.logger {
	position: absolute;
	overflow: auto;
	background-color: #EEE;
	border: solid 2px black;
	width: 400px;
	height: 320px;
	left: 330px;
	top: 20px;
  display: none;
}

.menubar {
	height: 20px;
}

.menubar .logout {
	float: left;
}

.menubar .logout a {
  visibility: hidden;
}

.menubar .online {
  float: right;
}


.popup {
	position: absolute;
	left: 10px;
	top: 30px;
	width: 294px;
	/*height: 294px;*/
	z-index: 1;
	border: 3px #222 solid;
}

.popup .background {
	position: absolute;
	background-color: #CCC;
	opacity: 0.8;
  width: 294px;
}

.popup .error {
  position: relative;
	padding: 5px;
	text-align: center;
	color: red;
	height: 20px;
}

.popup .progress {
  position: relative;
	text-align: center;
  padding-top: 30px;
  display: none;
}

.progress img {
	/* 128 x 15 */
}

.progress div {
	text-align: center;
}

.loginForm {
	position: relative;
	padding: 5px;
  display: none;
}

h1 {
	font-size: 14px;
	
}
p {
  font-size: 12px;
  
}

.loginForm table {
}

.loginForm .label {
}

.loginForm a {
  font-family: sans-serif;
  margin-left: 10px;
}

.loginForm input {
	
}

.loginForm .retype {
	display: none;
}

.scoreBoard {
	width: 320px;
	visibility: hidden;
}

.nextMove {
	color: red;
	font-weight: bold;
	border: solid 1px red;
}

.message {
	position: relative;
  display: none;
  padding: 5px;
}

.chat {
	position: absolute;
	left: 330px;
	top: 20px;
	width: 300px;
	height: 320px;
}

.chat .msg {
	height: 300px;
	width: 300px;
	overflow: auto;
  border: 2px solid #222;
  border-bottom: none;
}

.chat .inp {
	/*height: 20px;*/
	width: 300px;
	border: 2px solid #222;
}